package cn.yshujia.domain.vo;

import cn.yshujia.domain.entity.Article;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * @author YShuJia
 * @create 2024/11/28
 * @description ArticleVO
 */

@Data
@EqualsAndHashCode (callSuper = true)
public class ArticleVO extends Article implements Serializable {
	
	@Schema (description = "标签")
	private LabelVO label;
	
	@Schema (description = "评论数量")
	private Long commentCount;
	
	@Schema (description = "旧图片地址，用于比对修改和添加时删除的图片")
	private List<String> imgUrls;

}
